let list = [
    { name: "工作台",  path:'/WorkTable'},
    { name: "签约管理",  path:'/PendingContract'},
    { name: "服务管理",  path:'/PendingServices'},
    { name: "居民管理",  path:'/ListOfResidents'},
    { name: "资料管理",  path:'/OrganizationManagement'},
    { name: "数据统计",  path:'/DataSummarization'},
    { name: "系统设置",  path:'/LabelSettings'},
  ];
  
  export default function getTsbsPath(name:any) {
    let data = list.find((item) => {
        return item.name == name;
       });
       
       if(data){
         return data.path
       }
 
  };
  